package HLLibClasses;

import HLCode.HLClassManager;
import HLCode.HLLibClass;
import HLCode.HLObject;
import HLLib.base.HLList;
import HLLib.game.HLCD;
import HLLib.game.HLCDGroupAllTrans;

public class HLClassCDGroupAllTrans extends HLLibClass {
    public HLClassCDGroupAllTrans(HLClassManager owner) {
        super(owner);
    }

    public HLObject NewObject() {
        return new HLCDGroupAllTrans();
    }

    public void StaticExecute(int index, HLObject args, HLObject resultOwnerObject, int resultIndex) {
        switch (index) {
        case 0: {
            if (resultOwnerObject == null) {
                HLCDGroupAllTrans.GetTransCDGroup((HLList)args.GetObject(0), args.GetInt(0), args.GetInt(1), args.GetInt(2), args.GetBoolean(0));
            } else {
                resultOwnerObject.SetObject(resultIndex, HLCDGroupAllTrans.GetTransCDGroup((HLList)args.GetObject(0), args.GetInt(0), args.GetInt(1), args.GetInt(2), args.GetBoolean(0)));
            }
            break;
        }
        case 1: {
            if (resultOwnerObject == null) {
                HLCDGroupAllTrans.CDTouchRect((HLCD)args.GetObject(0), args.GetInt(0), args.GetInt(1), (HLCD)args.GetObject(1), args.GetInt(2), args.GetInt(3), args.GetBoolean(0));
            } else {
                resultOwnerObject.SetBoolean(resultIndex, HLCDGroupAllTrans.CDTouchRect((HLCD)args.GetObject(0), args.GetInt(0), args.GetInt(1), (HLCD)args.GetObject(1), args.GetInt(2), args.GetInt(3), args.GetBoolean(0)));
            }
            break;
        }
        case 2: {
            if (resultOwnerObject == null) {
                HLCDGroupAllTrans.CDTouchRect1((HLCD)args.GetObject(0), args.GetInt(0), args.GetInt(1), (HLCD)args.GetObject(1), args.GetInt(2), args.GetInt(3));
            } else {
                resultOwnerObject.SetBoolean(resultIndex, HLCDGroupAllTrans.CDTouchRect1((HLCD)args.GetObject(0), args.GetInt(0), args.GetInt(1), (HLCD)args.GetObject(1), args.GetInt(2), args.GetInt(3)));
            }
            break;
        }
        case 3: {
            if (resultOwnerObject == null) {
                HLCDGroupAllTrans.CDTouchCuboid((HLCD)args.GetObject(0), args.GetInt(0), args.GetInt(1), args.GetInt(2), (HLCD)args.GetObject(1), args.GetInt(3), args.GetInt(4), args.GetInt(5), args.GetBoolean(0));
            } else {
                resultOwnerObject.SetBoolean(resultIndex, HLCDGroupAllTrans.CDTouchCuboid((HLCD)args.GetObject(0), args.GetInt(0), args.GetInt(1), args.GetInt(2), (HLCD)args.GetObject(1), args.GetInt(3), args.GetInt(4), args.GetInt(5), args.GetBoolean(0)));
            }
            break;
        }
        case 4: {
            if (resultOwnerObject == null) {
                HLCDGroupAllTrans.CDTouchCuboid1((HLCD)args.GetObject(0), args.GetInt(0), args.GetInt(1), args.GetInt(2), (HLCD)args.GetObject(1), args.GetInt(3), args.GetInt(4), args.GetInt(5));
            } else {
                resultOwnerObject.SetBoolean(resultIndex, HLCDGroupAllTrans.CDTouchCuboid1((HLCD)args.GetObject(0), args.GetInt(0), args.GetInt(1), args.GetInt(2), (HLCD)args.GetObject(1), args.GetInt(3), args.GetInt(4), args.GetInt(5)));
            }
            break;
        }
        case 5: {
            if (resultOwnerObject == null) {
                HLCDGroupAllTrans.PolygonTouchPoint((HLList)args.GetObject(0), args.GetInt(0), args.GetInt(1));
            } else {
                resultOwnerObject.SetBoolean(resultIndex, HLCDGroupAllTrans.PolygonTouchPoint((HLList)args.GetObject(0), args.GetInt(0), args.GetInt(1)));
            }
            break;
        }
        case 6: {
            if (resultOwnerObject == null) {
                HLCDGroupAllTrans.RectTouchRect(args.GetInt(0), args.GetInt(1), args.GetInt(2), args.GetInt(3), args.GetInt(4), args.GetInt(5), args.GetInt(6), args.GetInt(7));
            } else {
                resultOwnerObject.SetBoolean(resultIndex, HLCDGroupAllTrans.RectTouchRect(args.GetInt(0), args.GetInt(1), args.GetInt(2), args.GetInt(3), args.GetInt(4), args.GetInt(5), args.GetInt(6), args.GetInt(7)));
            }
            break;
        }
        case 7: {
            if (resultOwnerObject == null) {
                HLCDGroupAllTrans.CuboidTouchCuboid(args.GetInt(0), args.GetInt(1), args.GetInt(2), args.GetInt(3), args.GetInt(4), args.GetInt(5), args.GetInt(6), args.GetInt(7), args.GetInt(8), args.GetInt(9), args.GetInt(10), args.GetInt(11));
            } else {
                resultOwnerObject.SetBoolean(resultIndex, HLCDGroupAllTrans.CuboidTouchCuboid(args.GetInt(0), args.GetInt(1), args.GetInt(2), args.GetInt(3), args.GetInt(4), args.GetInt(5), args.GetInt(6), args.GetInt(7), args.GetInt(8), args.GetInt(9), args.GetInt(10), args.GetInt(11)));
            }
            break;
        }
        case 8: {
            if (resultOwnerObject == null) {
                HLCDGroupAllTrans.RectTouchLine(args.GetInt(0), args.GetInt(1), args.GetInt(2), args.GetInt(3), args.GetInt(4), args.GetInt(5), args.GetInt(6), args.GetInt(7));
            } else {
                resultOwnerObject.SetBoolean(resultIndex, HLCDGroupAllTrans.RectTouchLine(args.GetInt(0), args.GetInt(1), args.GetInt(2), args.GetInt(3), args.GetInt(4), args.GetInt(5), args.GetInt(6), args.GetInt(7)));
            }
            break;
        }
        case 9: {
            if (resultOwnerObject == null) {
                HLCDGroupAllTrans.RectTouchPoint(args.GetInt(0), args.GetInt(1), args.GetInt(2), args.GetInt(3), args.GetInt(4), args.GetInt(5));
            } else {
                resultOwnerObject.SetBoolean(resultIndex, HLCDGroupAllTrans.RectTouchPoint(args.GetInt(0), args.GetInt(1), args.GetInt(2), args.GetInt(3), args.GetInt(4), args.GetInt(5)));
            }
            break;
        }
        case 10: {
            if (resultOwnerObject == null) {
                HLCDGroupAllTrans.RectTouchPoint1(args.GetInt(0), args.GetInt(1), args.GetInt(2), args.GetInt(3), args.GetInt(4), args.GetInt(5));
            } else {
                resultOwnerObject.SetBoolean(resultIndex, HLCDGroupAllTrans.RectTouchPoint1(args.GetInt(0), args.GetInt(1), args.GetInt(2), args.GetInt(3), args.GetInt(4), args.GetInt(5)));
            }
            break;
        }
        case 11: {
            if (resultOwnerObject == null) {
                HLCDGroupAllTrans.LineTouchLine(args.GetInt(0), args.GetInt(1), args.GetInt(2), args.GetInt(3), args.GetInt(4), args.GetInt(5), args.GetInt(6), args.GetInt(7));
            } else {
                resultOwnerObject.SetBoolean(resultIndex, HLCDGroupAllTrans.LineTouchLine(args.GetInt(0), args.GetInt(1), args.GetInt(2), args.GetInt(3), args.GetInt(4), args.GetInt(5), args.GetInt(6), args.GetInt(7)));
            }
            break;
        }
        case 12: {
            if (resultOwnerObject == null) {
                HLCDGroupAllTrans.LineTouchPoint(args.GetInt(0), args.GetInt(1), args.GetInt(2), args.GetInt(3), args.GetInt(4), args.GetInt(5));
            } else {
                resultOwnerObject.SetBoolean(resultIndex, HLCDGroupAllTrans.LineTouchPoint(args.GetInt(0), args.GetInt(1), args.GetInt(2), args.GetInt(3), args.GetInt(4), args.GetInt(5)));
            }
            break;
        }
        case 13: {
            if (resultOwnerObject == null) {
                HLCDGroupAllTrans.PointTouchPoint(args.GetInt(0), args.GetInt(1), args.GetInt(2), args.GetInt(3));
            } else {
                resultOwnerObject.SetBoolean(resultIndex, HLCDGroupAllTrans.PointTouchPoint(args.GetInt(0), args.GetInt(1), args.GetInt(2), args.GetInt(3)));
            }
            break;
        }
        }
    }
}
